#!/usr/bin/env node --harmony

const program = require("commander");
//version 版本号
//name 新项目名称
const init = require("./scripts/init");
//dev 本地调试
const dev = require("./scripts/dev");
program
  .version(require("./package.json").version, "-v, --version")
  .command("init <name>")
  .action(init)
  .command("dev")
  .action(dev);
program.parse(process.argv);
